﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ProjectFitus.Models.User>" %>

 <h2>Mín síða</h2>

        <h4>Um notenda: <%=Model.userName %></h4>
        
        <table class="tafla">
        
                <tr>
                    <th><%= Html.Encode(Model.firstName) %> <%= Html.Encode(Model.lastName) %></th>
                    <th id="kall"></th>
                </tr>
               
                <tr>
                        <td>Staður:</td>
                        <td> <%=Model.country %></td>
                        
                </tr>
                <tr>
                        <td>Netfang:</td>
                        <td> <%= Html.Encode(Model.email) %></td>
                        <td> <%= Html.Encode(Model.profileImageUrl) %></td>
                </tr>
                <tr>
                        <td>Lýsing:</td>
                        <td> <%= Html.Encode(Model.userDescription) %></td>
                       
                </tr>
                <tr>
                        <td>Fæðingardagur:</td>
                        <td> <%= Html.Encode(String.Format("{0:g}", Model.dateOfBirth)) %></td>
                        
                </tr>
                <tr>
                        <td>Var seinast inni:</td>
                        <td> <%= Html.Encode(String.Format("{0:g}", Model.LastLogin)) %></td>
                        
                </tr>
                
        </table>        
        
